package com.gdust.lease.web.admin.mapper;

import com.gdust.lease.model.entity.FacilityInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author syun
* @description 针对表【facility_info(配套信息表)】的数据库操作Mapper
* @createDate 2025-1-1 14:57:47
* @Entity com.gdust.lease.model.FacilityInfo
*/
public interface FacilityInfoMapper extends BaseMapper<FacilityInfo> {
    /**
     * 根据传入的公寓id查询设备信息表
     * @param id 传入的公寓id
     * @return
     */
    List<FacilityInfo> selectListByApartmentId(Long id);

    /**
     * 查询设备信息列表
     * @param id 公寓id
     * @return
     */
    List<FacilityInfo> selectListByRoomId(Long id);
}




